package com.redrose.rxandroiddemo.database;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.redrose.rxandroiddemo.bean.Women;

@Database(entities = {Women.class}, version = 1)//申明Entity和数据库的版本号
public abstract class MyRoomDataBase extends RoomDatabase {

    abstract WomenDao getWomenDao();
}
